<head>
  <style>
    .carousel {
      width: 500px;
      height: 280px;
      overflow: hidden;
      white-space: nowrap;
    }
    .carousel>div {
      width: 500px;
      height: 280px;
      display: inline-block; /* 让div横向排布 */
      background-size: contain; /* 让背景图能适配背景尺寸 */
      /* transition: ease 0.5s; */
    }
  </style>
</head>
<body>
  <script src="./main.js"></script>
  
</body>